home *** CD-ROM | disk | FTP | other *** search
/ You're the Director / You're The Director.iso / pc / macf / mger.dir / 00226.ls < prev    next >
Encoding:
Text File  |  1995-10-10  |  1.1 KB  |  36 lines

  1. on mouseUp
  2.   if (the frame < 22) and (the visible of sprite 48 = 1) then
  3.     set the movieRate of sprite 48 to 0
  4.     set mtime to the movieTime of sprite 48
  5.     set the visible of sprite 48 to 0
  6.     set the controller of cast the castNum of sprite 48 to 0
  7.     updateStage()
  8.     play frame "HELP"
  9.     updateStage()
  10.     set the visible of sprite 48 to 1
  11.     set the controller of cast the castNum of sprite 48 to 1
  12.     set the movieTime of sprite 48 to mtime
  13.     updateStage()
  14.     set the movieRate of sprite 48 to 1
  15.     updateStage()
  16.   else
  17.     if the visible of sprite 48 = 1 then
  18.       set the movieRate of sprite 48 to 0
  19.       set the visible of sprite 48 to 0
  20.       set mtime to the movieTime of sprite 48
  21.       set the controller of cast the castNum of sprite 48 to 0
  22.       updateStage()
  23.       play frame "HELP"
  24.       updateStage()
  25.       set the visible of sprite 48 to 1
  26.       set the controller of cast the castNum of sprite 48 to 1
  27.       set the movieTime of sprite 48 to mtime
  28.       updateStage()
  29.       set the movieRate of sprite 48 to 1
  30.       updateStage()
  31.     else
  32.       play frame "HELP"
  33.     end if
  34.   end if
  35. end
  36.